package com;

public class Collection_20_Generic_03 {

	public static void main(String[] args) {
		MyClass myClass = new MyClass();
		myClass.m1(1);
		myClass.m1("asd");
//		1
//		asd

		MyClass<String> myClass2 = new MyClass();
//		myClass2.m1(2);
		myClass2.m1("asdf");
	}

}

class MyClass<T> {
	public void m1(T t) {
		System.out.println(t);
	}
}